home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Web Star/List Star - Eve…he Ultimate Internet Site
/
StarNine Internet Pubisher (Web Star and List Star)(StarNine)(1995).iso
/
ListSTAR™
/
Tools and Enhancments
/
Paging with ListSTAR
/
Notify!
/
Notify! Subscribers v1.0
< prev
Wrap
Text File
|
1995-08-04
|
2KB
|
37 lines
-----------------------------------------------------------------------
-- StarNine Technologies, Inc., hereby disclaims all copyright interest
-- in the following source code written by Joshua D. Baer.
--
-- This source code is free and has been placed into the public domain.
-- You can redistribute it, modify it (including these comments) and/or
-- create derivative works from it as you see fit.
--
-- This source code is made available in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-----------------------------------------------------------------------
--Place this script in the folder with the same name as the service you just created
--(ie. Hard Drive->ListSTAR/SMTP->Services-><Service Name>).
--Change the value for the ServiceName variable to be the same as the name of your Service.
set ServiceName to "<your Service Name>"
--End of Configuration Area
set theBody to ""
--first, create body of message line by line
tell application "Notify!™ Server"
set theBody to "This Notify!™ server supports the following subscribers:" & return & (DoScript "Get Subscribers")
set theBody to theBody & return & "This Notify!™ server supports the following groups:" & return & (DoScript "Get Groups")
end tell
--next send as body of message to ListSTAR Server
tell application "ListSTAR Server"
StarNine Send ¬
ServiceName To s9SenderEmailAddress ¬
Subject ¬
"Re: subscribers" Body theBody
end tell
return 0